package com.wzdigit.wms.basic.client.response.inv;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.wzdigit.wms.basic.converter.inv.GoodsIsHoldConverter;
import com.wzdigit.wms.basic.converter.inv.GoodsStatusConverter;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 
 * 【冻结失败的SN信息】输出
 * @author Administrator
 *
 */
@Data
@HeadRowHeight(value = 20)
@ColumnWidth(value = 18)
@ExcelIgnoreUnannotated
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(value = { "hibernateLazyInitializer", "handler", "fieldHandler" }, ignoreUnknown = false)
public class HoldErrorGoodsResponse implements Serializable {

	private static final long serialVersionUID = 6190078285078614759L;

	/**
     * 序号SN
     */
    @ApiModelProperty(value = "序号SN")
    @ExcelProperty(value = "序号SN")
    private String goodsSn;
    
    /**
     * 物料编码
     */
    @ApiModelProperty(value = "物料编码")
    @ExcelProperty(value = "物料编码")
    private String skuCode;

    /**
     * 数量
     */
    @ApiModelProperty(value = "数量")
    @ExcelProperty(value = "数量")
    private BigDecimal qty;
    
    /**
     * 状态
     */
    @ApiModelProperty(value = "状态")
    @ExcelProperty(value = "状态", converter = GoodsStatusConverter.class)
    private Integer status;
    
    /**
     * 是否冻结
     */
    @ApiModelProperty(value = "是否冻结")
    @ExcelProperty(value = "是否冻结", converter = GoodsIsHoldConverter.class)
    private Integer isHold;
}
